/**
 * 
 */
package com.hpe.business.response;

/**
 * 接口调用返回结果
 * @author luolin
 *
 * @version $id:ResponseResultsVo.java,v 0.1 2016年1月8日 下午4:01:11 luolin Exp $
 */
public class BaseResponseResults {
    /** 是否成功 */
    protected boolean success;
    /** 错误码 */
    protected String  errorCode;
    /** 错误信息 */
    protected String  errorMessage;

    public BaseResponseResults(boolean success, String errorCode, String errorMessage) {
        super();
        this.success = success;
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    public BaseResponseResults(boolean success) {
        super();
        this.success = success;
    }

    public BaseResponseResults() {
        super();
    }

    /**
     * @return the success
     */
    public boolean isSuccess() {
        return success;
    }

    /**
     * @param success the success to set
     */
    public void setSuccess(boolean success) {
        this.success = success;
    }

    /**
     * @return the errorCode
     */
    public String getErrorCode() {
        return errorCode;
    }

    /**
     * @param errorCode the errorCode to set
     */
    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    /**
     * @return the errorMessage
     */
    public String getErrorMessage() {
        return errorMessage;
    }

    /**
     * @param errorMessage the errorMessage to set
     */
    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

}
